import { Entity, Column } from 'typeorm'
import { BaseEntity } from '../global'

@Entity('version_repo')
export class VersionRepoEntity extends BaseEntity {
    @Column({ length: 32 })
    repoid: string

    @Column({ length: 64, comment: '服务名' })
    repoName: string

    @Column({ length: 2048, comment: '仓库地址' })
    repoPath: string

    @Column({ length: 256, comment: '仓库名' })
    repoRepo: string
}
